#pragma once

template <typename num>
num max(num a, num b)
{
	return (a > b ? a : b);
}

template <typename num, typename ...args>
num max(num a, num b, args ...c)
{
	return max((a > b ? a : b), c...);
}